package com.zzx.demo.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.zzx.api.IDemoService;
import com.zzx.demo.mapper.UserMapper;

public class DemoServiceImpl implements IDemoService{
	@Autowired
	private UserMapper userMapper;
	@Override
	public String rtnTest(String str) {
		System.err.println("***demo core 层******测试*******"+str);
		Map<String,String> map = new HashMap<String,String>();
		List<Map<String,String>> list = userMapper.queryUserList(map);
		System.err.println("**结果:"+list.toString());
		return "**demo core 层*后台返回*** "+str;
	}

}
